<?php
namespace My\Model;

use Think\Model;

class MaterialModel extends Model {
	
	protected $_validate = array(
		array('title', 'require', '素材标题不能为空'),
		array('cover_url', 'require', '素材地址不能为空'),
	);
	
}